
<script>

$('#repo_details').hide() ; 
$('#tabs_bar').hide() ; 


// change the appareance of tabs
$("#tabs_code").attr("class", "");
$("#tabs_pull").attr("class", "selected");


$.post('/svnapproval/request/pendentcount/', function(data) 
{
	 $('#counter_pull').html(data);
});




</script>


<?php

//print_r($this->requests_c) ; 

?>


<div class="columns browser pulls" id="js-issue-list">


<div class="browser-content">
  <div class="filterbar">
    <ul class="filters">
      <li data-filter="open"  ><a href="/svnapproval/request/pendent/" >Open</a></li>
      <li data-filter="open" ><a href="/svnapproval/request/closed/" >Closed</a></li>
      <li data-filter="closed" class="selected">Reproved</li>
      
    </ul>

    <ul class="sorts">
      <li data-sort="created" class="desc">Submitted</li>
      <li data-sort="updated">Updated</li>
      <li data-sort="popularity">Popularity</li>
    </ul>
  </div>
  <div class="context-loader" style="display:none">Sending Request&hellip;</div>

  <div class="error" style="display:none">
    <p>There was an error serving your request</p>
  </div>
  <div class="listings js-navigation-container" id="js-active-navigation-container" data-navigation-enable-mouse>
<?


for($i = 0 ; $i < sizeof($this->requests_c) ; $i ++ )
{ 
	
?>

<div
  class="listing clearfix js-navigation-item  "
  data-state="open"
  data-read="1"
  data-created="1328015012"
  data-updated="1328028093"
  data-popularity="1"
  data-filter="sfsd">
  <span class="active-bit"></span>
  <span class="read-status" title="Read"></span> 
  <h3>
    <a href="/svnapproval/request/aprove/?id=<? echo $this->requests_c[$i]['id']  ?>" class="js-navigation-open"><? echo utf8_decode($this->requests_c[$i]['subject']) ?></a>
  </h3>
  <p><a href="/svnapproval/request/aprove/?id=<? echo $this->requests_c[$i]['id']  ?>"><p><? echo utf8_decode($this->requests_c[$i]['message']) ?></p></a></p>
  
 	<div class="files-desc">
 	<? 
 	foreach ($this->requests_c[$i]['commands']  as $row)
 	{
 	
 		$return = explode("*",$row->return) ; 
 		
 	echo "<pre>&nbsp;&nbsp;SCHEDULED:".$row->date_scheduled."<br>&nbsp;&nbsp;EXECUTED:".$row->date_executed." <br>&nbsp;&nbsp;COMMAND:".$row->command." <br>&nbsp;&nbsp;RETURN: ".$return[0]." - ".$return[1]." </pre>" ; 	
 	echo "<br>" ; 	
 	} ?>
 	
	</div>



  
  <div class="meta">

    <a href="/jorgeluislustosa" class="gravatar"><img height="12" src="https://secure.gravatar.com/avatar/1ed0da2ff7331f2910674124c9a6108c?s=140&amp;d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png" width="12" /></a>
    <a ><? echo $this->requests_c[$i]['author'] ?></a>
    submitted to
    <a ><? $this->project_name  ?></a>
    <time class="js-relative-date" ><? echo $this->requests_c[$i]['date'] ?></time>
  </div>
  <span class="updated">Updated <time class="js-relative-date" ><? echo $this->requests_c[$i]['date']  ?></time></span>

  <span class="comments">
    <a href="/jorgelustosa/svnapproval/pull/2">1 comment</a>
  </span>
</div>

<? } ?>



    <div class="preloaded-content" data-url="/jorgelustosa/svnapproval/pulls"></div>
  </div>
  <div class="paging" style="display:none">
    <a href="#" class="button-pager">Show more</a>

  </div>
  <div class="footerbar">
    <p class="footerbar-text">Nothing to show yet</p>
  </div>
</div>

</div><!-- /.columns.browser -->

      </div>

      <div class="context-overlay"></div>
    </div>




  

